home *** CD-ROM | disk | FTP | other *** search
/ Loadstar 215 / 215.d81 / t.modstar copier < prev    next >
Text File  |  2022-08-26  |  4KB  |  156 lines

  1. u
  2.       M O D S T A R  C O P I E R
  3.  
  4.    Original Program by Mike Maynard
  5. Text & Modifications by James T. Jones
  6.  
  7.  
  8.     On Issue 54 of LOADSTAR, there is
  9. a program for copying files from one
  10. diskette, in the "Source" disk drive,
  11. to another diskette, in the "Target"
  12. or destination disk drive. This very
  13. useful program has appeared on
  14. subsequent issues of LOADSTAR, mainly
  15. with cosmetic changes. The original
  16. text file is on this issue.
  17.  
  18.     Although the program will copy
  19. files from the diskette in the source
  20. disk drive, having various device
  21. numbers, to the disk in the target
  22. disk drive, also having various device
  23. numbers, the program itself must be
  24. LOADed and RUN using a disk drive
  25. having a device number equal to 8.
  26. This was a common drawback of the
  27. early programs published on LOADSTAR.
  28. In those days, one was fortunate to
  29. have a disk drive at all, in addition
  30. to a datasette. The device number of
  31. the available disk drives was almost
  32. always equal to 8 and could only be
  33. readily changed with a program, by
  34. using the so-called "software" method.
  35. The new device number was, of course,
  36. lost when the computer was turned off.
  37.  
  38.     The purpose of the present
  39. program, MODSTAR COPIER, on this
  40. issue, is to rectify this drawback, so
  41. that the program can be LOADed and RUN
  42. from a disk drive having any proper
  43. device number. Crashes, with the
  44. dreaded display of the error message,
  45. "Device not present", may thereby be
  46. avoided when an attempt is made to
  47. LOAD and RUN the program.
  48.  
  49.     Modifications of the original
  50. BASIC program were made with a
  51. reasonable amount of effort; however,
  52. the original program uses an object
  53. file, COPIER.O, which is also
  54. "hardcoded" to a device number equal
  55. to 8.
  56.  
  57.     It was by no means a simple matter
  58. to create the source file -- MOD
  59. COPIER.S -- on this issue, in the
  60. format of the MERLIN assembler.  If
  61. necessary, the format of the file may
  62. readily be changed to the format of
  63. your assembler.  MOD COPIER.S was used
  64. to create the object file -- MOD
  65. COPIER.O -- which has the advantage of
  66. allowing the use of any disk drive
  67. having a device number in the proper
  68. range, 8 - 11.
  69.  
  70.     The author has described in detail
  71. in another program, BITS: UNIVERSAL
  72. DIRECTORY PROGRAMS, the assembly
  73. language strategem of incorporating a
  74. statement equivalent to the BASIC
  75. statements,
  76.  
  77.   DV=PEEK(186):IF DV<8 THEN DV=8
  78.  
  79. into a source file. This program and
  80. its associated files may have been
  81. published by the time that you read
  82. this text file.
  83.  
  84.     In regard to assembly language
  85. programming, at the time this text
  86. file was written, eTower Marketing was
  87. offering for sale STAR EXTRAS #4 and
  88. #5 for $12.OO (including shipping and
  89. handling). The address and telephone
  90. number are:
  91.  
  92.        eTower Marketing
  93.        P. O. Box 44
  94.        Holly, CO 81O47-OO44
  95.        Telephone: (719) 537-6484
  96.  
  97.     A number of very useful articles
  98. are on the diskettes concerning
  99. assembly language by the master,
  100. Jeffrey L. Jones, himself. They would
  101. be a welcome addition to your
  102. reference material on assembly
  103. language programming.
  104.  
  105.     There are a number of very useful
  106. programs on the early issues of
  107. LOADSTAR; the author plans to modify
  108. other programs that must be LOADed and
  109. RUN only on a disk drive having a
  110. device number equal to 8.
  111.  
  112.     Of course, one can always use the
  113. early programs with a disk drive
  114. having a device number equal to 8,
  115. provided one knows in advance that a
  116. device number equal to 8 is required
  117. to avoid that dreaded "crash".
  118.  
  119.     On a personal note, I would like
  120. to express my appreciation to Judi and
  121. Fender Tucker for sending me the
  122. Commodore equipment, without which I
  123. could not have typed the text file
  124. that you are reading. Reportedly,
  125. Fender has other items that may be of
  126. interest. If you need a particular
  127. piece of Commodore hardware, why not
  128. contact him?  His address and
  129. telephone number are:
  130.  
  131.         Mr. Fender Tucker
  132.         443 Gladstone Blvd.
  133.         Shreveport, LA 711O4
  134.  
  135.         1-318-868-8727
  136.  
  137.  JTJ
  138.  
  139.  AFTER-NOTE: Dr. J isn't kidding about
  140. the work it takes to disassemble ML
  141. code, make sense of it, and rewrite it
  142. to an assembler source file. Thanks,
  143. Doc!
  144.  
  145.  I have several other contributions
  146. from Dr. Jones that were missplaced
  147. during a frantic "cleaning day" at the
  148. office. Now that my 215th floor office
  149. is back to its normal, disaster area
  150. motif, some interesting programs are
  151. rising to the top of the heap. More
  152. later, LOADSTARites!
  153.  
  154.  DMM
  155.  
  156.  
  157.